タスクの添付ファイルの取得

get
/tasks/{id}/attachments
タスクの添付ファイルを取得します。

この操作のリクエスト・パラメータはありません。

次の表に、サーバー・レスポンスをまとめます。

サポートされているメディア・タイプ
  • application/json
  • application/xml

200 レスポンス

タスクの添付ファイルをリストします。
本文
application/jsonの例

{
    "levels":0,
    "links":[
        {
            "href":"http://example.com/bpm/api/3.0/tasks/200003",
            "length":0,
            "rel":"back"
        },
        {
            "href":"http://example.com/bpm/api/3.0/tasks/200003/attachments",
            "length":0,
            "rel":"self"
        }
    ],
    "attachment":[
        {
            "updatedDate":"2015-03-10 12:29:20",
            "updatedBy":"John Steinbeck",
            "attachmentScope":"BPM",
            "uri":{
                "href":"http://example.com/bpm/api/3.0/tasks/200003/attachments/Payment+Receipt.pdf/stream",
                "length":0,
                "rel":"stream"
            },
            "userId":"jstein",
            "levels":0,
            "title":"Payment Receipt.pdf",
            "attachmentSize":69,
            "mimeType":"application/pdf"
        }
    ]
}